package org.example.ObserverPattern;

/**
 * 具体策略类：控制台通知
 */
public class ConsoleNotification implements NotificationStrategy {
    @Override
    public void sendNotification(String message, String recipient) {
        System.out.println("[Console] " + recipient + ": " + message);
    }
}